package com.gh.cloud.commons.core.constant;

/**
 */
public enum Oauth2CodeEnum{
    TOKEN_ERROR(401,"token错误")
    ;

    private Integer code;

    private String msg;

    Oauth2CodeEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
